<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表单</title>
</head>
<body>
<form action="">
    <p>
        用户名：<input type="text" name="username" placeholder="请输入用户名" required>
    </p>
    <p>
        <input type="radio" value="boy" name="sex">boy
        <input type="radio" value="girl" name="sex">girl
    </p>


    <p>
        <input type="checkbox" value="sleep" name="hobby">sleep
        <input type="checkbox" value="code" name="hobby">code
        <input type="checkbox" value="play games" name="hobby">play games
    </p>

    <input type="button" name="but" value="按钮">
    <input type="submit" name="阿斯顿" value="">
    <input type="reset"  value="清空">



    <p>地点：
        <select name="列表" id="">
            <option value="xx">china</option>
            <option value="xx" selected>ama</option>
            <option value="xx">zj</option>
            <option value="xx">hz</option>
        </select>
    </p>

    <p>
        文本域：
        <textarea name="textarea" id="" cols="30" rows="10"></textarea>
    </p>

    <p>
        文件：
        <input type="file" name="files">
        <input type="button" value="上传">
    </p>

    <p>
        <input type="range" max="100" min="0">
        <input type="search">
    </p>
</form>
</body>
</html>